package com.icloud.cer.rest.msg.processor;

import com.icloud.cer.rest.util.ApplicationContextHelper;

public class ProcessorManagerImpl implements ProcessorManager {

	@Override
	public MessageProcessor getProcessor(short command) {
		String processorName = "msg" + command + "Processor";
		return ApplicationContextHelper.getBean(processorName);
	}

}
